from django.conf.urls import url

from bitmex import consumers

websocket_urlpatterns = [
    # url(r'^ws/tr?ade/(?P<symbol>[^/]+)/$', consumers.TradeSubscribe),
    # url(r'^ws/depth/(P<symbol>[^/]+)/$', consumers.DepthSubscribe),
    # url(r'^ws/trade/$', consumers.TradeSubscribe),
    # url(r'^ws/depth/$', consumers.DepthSubscribe),
    url(r'^ws/symbol/$', consumers.SymbolSubscribe),
    url(r'^ws/user/$', consumers.AccountSubscribe),
]